Skip to content

Mani shashank :Add Winning Bid vs Average Bid chart to LB Dashboard#4634

Open
shashankm9 wants to merge 4 commits intodevelopmentfrom
feature/winning-bid-vs-average-bid-chart
Open

Mani shashank :Add Winning Bid vs Average Bid chart to LB Dashboard#4634
shashankm9 wants to merge 4 commits intodevelopmentfrom
feature/winning-bid-vs-average-bid-chart

Conversation

@shashankm9
Copy link
Copy Markdown
Contributor

Description

(PRIORITY HIGH) Jae/Rajrajeshwari – Create a bar chart titled ‘Winning bid vs Average bid’
Let the chart be titled Winning bid vs average bid
Let the X axis - Listing number/identifier
Let the Y axis - Bid Amount in USD
Include a legend to showcase the different bars
Include a menu to showcase the time duration to see the bids [calender format]
Include a filter to showcase number of bids ordered by the winning bid [ 5,10,20 etc]
Make design responsive
The graph has 2 main filters. Dates: which allows the user to pick to and from dates Category: Does the user want to see results grouped by village or property. By Village and By Property are the two selectable options. The two mutli-select options are for the user to select specific villages or properties. One of these filters will not work based on what the user has chosen in his category filter.
All graphs on this dashboard would be the same size

Related PRS (if any):

Main changes explained:

  • Implemented horizontal bar chart component with Chart.js
  • Added filters for date range, category (village/property), and bid limit
  • Included multi-select dropdowns for villages and properties
  • Added data labels on bars showing bid amounts
  • Responsive design with compact filter section
  • Using mock data consistent with other LB Dashboard graphs"

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. log as admin user
  5. go to /bldashboard→ Winning Bid vs Average Bid (http://localhost:5173/lbdashboard)
  6. verify Winning Bid vs Average Bid graph is working as expected.

Screenshots or videos of changes:

Recording.2025-12-26.221901.mp4

@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 27, 2025

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 904ad65
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/69e82bf1b19a5c0008c80d20
😎 Deploy Preview https://deploy-preview-4634--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@beblicarl
Copy link
Copy Markdown
Contributor

This functionality works as intended and the code is great

https://www.loom.com/share/553c12415214401a916ede18de67ca92

@beblicarl beblicarl self-requested a review March 12, 2026 09:52
beblicarl
beblicarl previously approved these changes Mar 12, 2026
@one-community one-community added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label Apr 12, 2026
Copy link
Copy Markdown

@rohanrastogi311 rohanrastogi311 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HI Mani,

Well done. Dark mode functionality needs improving though.

Image

Copy link
Copy Markdown

@HemanthNidamanuru HemanthNidamanuru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Shashank,

I tested this PR locally and the Winning Bid vs Average Bid graph works fine in light mode. Filters, categories, and chart rendering all look good. Dark mode implementation needs some improvement though.

Image Image Image Image

@shashankm9 shashankm9 force-pushed the feature/winning-bid-vs-average-bid-chart branch from fe2fcd6 to e1ea55a Compare April 15, 2026 03:16
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants